package com.coda.exception;

import com.coda.common.Result;

/**
 * 业务异常
 */
public class BaseException extends RuntimeException{

    private int code;

    public  BaseException(){

    }

    public BaseException(int code,String msg) {
        super(msg);
        this.code = code;
    }

    public int getCode(){
        return this.code;
    }



}
